package com.my.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.my.admin.entity.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentMapper extends BaseMapper<Comment> {

    IPage<Comment> getList(IPage<Comment> page, @Param("comment") Comment comment);

    List<Comment> getByArticleId(Long articleId);

}
